
from name_function import get_formmed_name

print ("Enter 'q' to quit any time.")
while True:
    first = input ("\nEnter first name:")
    if first == 'q':
     break
    last = input("Enter last name:")
    if last == 'q':
     break
    formatted_name = get_formmed_name(first,last)
    print ("Formmated name:"),formatted_name